import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '打卡人员',
    align: "center",
    dataIndex: 'userName_dictText'
  },
  {
    title: '打卡时间',
    align: "center",
    dataIndex: 'signTime'
  },
  {
    title: '类型',
    align: "center",
    dataIndex: 'type_dictText'
  },
  {
    title: '打卡状态',
    align: "center",
    dataIndex: 'status_dictText'
  },
];

// 高级查询数据
export const superQuerySchema = {
  userName: {title: '打卡人员',order: 0,view: 'sel_user', type: 'string',},
  signTime: {title: '打卡时间',order: 1,view: 'datetime', type: 'string',},
  type: {title: '类型',order: 2,view: 'list', type: 'string',dictCode: 'signType',},
  status: {title: '打卡状态',order: 3,view: 'list', type: 'string',dictCode: 'signStatus',},
};
